package edu.je.column.service.impl;

import edu.je.column.model.NewsModel;

import java.util.List;

/**
 * @author MengXin
 * @description:
 * @program: je-gateway
 * @date 2021/4/21 21:12
 * @mail mx@radish.cloud
 */
public interface NewsServcieImpl {

    public NewsModel addNews(String tittle,String abstractContet,Long userId,String imageUrl,String content);
    public List<NewsModel> getAllnews(Integer page,Integer size);
}
